package com.loser.gateway.mysql.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 活动bean业务加载日志
 *
 * @author alan
 * @since 2022-12-02
 */
@Data(staticConstructor = "create")
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("cmd_config")
public class CmdConfig {

    /**
     * 唯一ID
     */
    @TableId(value = "`cmd`", type = IdType.INPUT)
    private Integer cmd;

    @TableField("service_name")
    private String serviceName;

    @TableField("handler_class")
    private String handlerClass;

    @TableField("method")
    private String method;

    @TableField("arg_class")
    private String argClass;

}
